package com.lianzheng.model;

/*
 *  Created on Fri May 25 10:16:39 CST 2012
 *
 */
import java.io.Serializable;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.EqualsBuilder;

/**
 * TbDocVideoaudioinfo Base Java Bean
 * 
 * This class is the base class for the model
 * 
 */
 
public class TbDocVideoaudioinfo extends com.lianzheng.model.BaseObject implements Serializable {

    protected String id;
	protected String title;
	protected String describe;
	protected String insertuser;
	protected java.util.Date inserttime;
	protected String videoaudioflag;
	protected java.math.BigDecimal readtimes;
	protected String status;
	protected String fileurl;
	protected String imageurl;
	protected String verifyer;
	protected java.util.Date verifytime;
	protected String verifycomment;
	protected String collectflag;

	protected java.util.Set tbDocVideoaudiodetailinfoGroup = new java.util.HashSet();
	protected java.util.Set tbDocVideoaudiotypeGroup = new java.util.HashSet();

  /**
	*
	* Default Empty Constructor for class TbDocVideoaudioinfo
	*
	*/
	public TbDocVideoaudioinfo () {
		super();
	}
	
  /**
	*
	* Default All Fields Constructor for class TbDocVideoaudioinfo
	*
	*/
	public TbDocVideoaudioinfo (
		 String in_id
		,String in_title
		,String in_describe
		,String in_insertuser
		,java.util.Date in_inserttime
		,String in_videoaudioflag
		,java.math.BigDecimal in_readtimes
		,String in_status
		,String in_fileurl
		,String in_imageurl
		,String in_verifyer
		,java.util.Date in_verifytime
		,String in_verifycomment
		,String in_collectflag
        ) {
		this.setId(in_id);
		this.setTitle(in_title);
		this.setDescribe(in_describe);
		this.setInsertuser(in_insertuser);
		this.setInserttime(in_inserttime);
		this.setVideoaudioflag(in_videoaudioflag);
		this.setReadtimes(in_readtimes);
		this.setStatus(in_status);
		this.setFileurl(in_fileurl);
		this.setImageurl(in_imageurl);
		this.setVerifyer(in_verifyer);
		this.setVerifytime(in_verifytime);
		this.setVerifycomment(in_verifycomment);
		this.setCollectflag(in_collectflag);
    }


	public java.util.Set getTbDocVideoaudiodetailinfoGroup () {
		return tbDocVideoaudiodetailinfoGroup;
	}	
	
	public void setTbDocVideoaudiodetailinfoGroup (java.util.Set in_tbDocVideoaudiodetailinfoGroup) {
		this.tbDocVideoaudiodetailinfoGroup = in_tbDocVideoaudiodetailinfoGroup;
	}

	public java.util.Set getTbDocVideoaudiotypeGroup () {
		return tbDocVideoaudiotypeGroup;
	}	
	
	public void setTbDocVideoaudiotypeGroup (java.util.Set in_tbDocVideoaudiotypeGroup) {
		this.tbDocVideoaudiotypeGroup = in_tbDocVideoaudiotypeGroup;
	}
    
  /**
	*
	* @return String
	*/
	public String getId() {
		return this.id;
	}
	
  /**
	* Set the id
	*/	
	public void setId(String aValue) {
		this.id = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getTitle() {
		return this.title;
	}
	
  /**
	* Set the title
	*/	
	public void setTitle(String aValue) {
		this.title = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getDescribe() {
		return this.describe;
	}
	
  /**
	* Set the describe
	*/	
	public void setDescribe(String aValue) {
		this.describe = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getInsertuser() {
		return this.insertuser;
	}
	
  /**
	* Set the insertuser
	*/	
	public void setInsertuser(String aValue) {
		this.insertuser = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getInserttime() {
		return this.inserttime;
	}
	
  /**
	* Set the inserttime
	*/	
	public void setInserttime(java.util.Date aValue) {
		this.inserttime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVideoaudioflag() {
		return this.videoaudioflag;
	}
	
  /**
	* Set the videoaudioflag
	*/	
	public void setVideoaudioflag(String aValue) {
		this.videoaudioflag = aValue;
	}	
  /**
	*
	* @return java.math.BigDecimal
	*/
	public java.math.BigDecimal getReadtimes() {
		return this.readtimes;
	}
	
  /**
	* Set the readtimes
	*/	
	public void setReadtimes(java.math.BigDecimal aValue) {
		this.readtimes = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getStatus() {
		return this.status;
	}
	
  /**
	* Set the status
	*/	
	public void setStatus(String aValue) {
		this.status = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getFileurl() {
		return this.fileurl;
	}
	
  /**
	* Set the fileurl
	*/	
	public void setFileurl(String aValue) {
		this.fileurl = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getImageurl() {
		return this.imageurl;
	}
	
  /**
	* Set the imageurl
	*/	
	public void setImageurl(String aValue) {
		this.imageurl = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifyer() {
		return this.verifyer;
	}
	
  /**
	* Set the verifyer
	*/	
	public void setVerifyer(String aValue) {
		this.verifyer = aValue;
	}	
  /**
	*
	* @return java.util.Date
	*/
	public java.util.Date getVerifytime() {
		return this.verifytime;
	}
	
  /**
	* Set the verifytime
	*/	
	public void setVerifytime(java.util.Date aValue) {
		this.verifytime = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getVerifycomment() {
		return this.verifycomment;
	}
	
  /**
	* Set the verifycomment
	*/	
	public void setVerifycomment(String aValue) {
		this.verifycomment = aValue;
	}	
  /**
	*
	* @return String
	*/
	public String getCollectflag() {
		return this.collectflag;
	}
	
  /**
	* Set the collectflag
	*/	
	public void setCollectflag(String aValue) {
		this.collectflag = aValue;
	}	
   /**
	 * @see java.lang.Object#equals(Object)
	 */
	public boolean equals(Object object) {
		if (!(object instanceof TbDocVideoaudioinfo)) {
			return false;
		}
		TbDocVideoaudioinfo rhs = (TbDocVideoaudioinfo) object;
		return new EqualsBuilder()
				.append(this.id, rhs.id)
				.append(this.title, rhs.title)
				.append(this.describe, rhs.describe)
				.append(this.insertuser, rhs.insertuser)
				.append(this.inserttime, rhs.inserttime)
				.append(this.videoaudioflag, rhs.videoaudioflag)
				.append(this.readtimes, rhs.readtimes)
				.append(this.status, rhs.status)
				.append(this.fileurl, rhs.fileurl)
				.append(this.imageurl, rhs.imageurl)
				.append(this.verifyer, rhs.verifyer)
				.append(this.verifytime, rhs.verifytime)
				.append(this.verifycomment, rhs.verifycomment)
				.append(this.collectflag, rhs.collectflag)
				.isEquals();
	}
	/**
	 * @see java.lang.Object#hashCode()
	 */
	public int hashCode() {
		return new HashCodeBuilder(-82280557, -700257973)
				.append(this.id) 
				.append(this.title) 
				.append(this.describe) 
				.append(this.insertuser) 
				.append(this.inserttime) 
				.append(this.videoaudioflag) 
				.append(this.readtimes) 
				.append(this.status) 
				.append(this.fileurl) 
				.append(this.imageurl) 
				.append(this.verifyer) 
				.append(this.verifytime) 
				.append(this.verifycomment) 
				.append(this.collectflag) 
				.toHashCode();
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return new ToStringBuilder(this)
				.append("id", this.id) 
				.append("title", this.title) 
				.append("describe", this.describe) 
				.append("insertuser", this.insertuser) 
				.append("inserttime", this.inserttime) 
				.append("videoaudioflag", this.videoaudioflag) 
				.append("readtimes", this.readtimes) 
				.append("status", this.status) 
				.append("fileurl", this.fileurl) 
				.append("imageurl", this.imageurl) 
				.append("verifyer", this.verifyer) 
				.append("verifytime", this.verifytime) 
				.append("verifycomment", this.verifycomment) 
				.append("collectflag", this.collectflag) 
				.toString();
	}

	
}